namespace MyCompany.Interfaces {
	using System.ComponentModel;

	using SolidMvvmInterfaces;

	public delegate void ReceivedTextDelegate(ILocalHostWebSocketServer sender, string message);

	public interface ILocalHostWebSocketServer {
		string LocalIPAddressWithoutWebSocketPrefix { get; }

		IMessageReporter MessageReporter { get; }

		int Port { get; }

		event PropertyChangedEventHandler PropertyChanged;

		void Dispose();

		void SendBytes(byte[] bytes);

		void SendText(string message);
	}
}
